package cn.itcast.company;

import org.springframework.context.support.ClassPathXmlApplicationContext;

import java.io.IOException;

/**
 * 临时项目启动类
 */
public class CompanyProvider {

    public static void main(String[] args) throws IOException {
        ClassPathXmlApplicationContext cxt
                = new ClassPathXmlApplicationContext("classpath*:spring/applicationContext-*.xml");
        cxt.start();
        System.in.read();
    }

}
